package cn.school.mybaits.entity;

import java.io.Serializable;
import java.util.Date;

public class Student implements Serializable {
	private static final long serialVersionUID = 1L;
	private long stuno; // 学号
	private String sname; // 姓名
	private String sex; // 性别
	private String telephone; // 手机号
	private String qq; // qq号
	private String wechat; // 微信号
	private int gradeid; // 年级号
	private Date enterdate; // 入学日期
	private String fromcity; // 来自城市
	private Date birthday; // 生日
	private String address; // 住址
	private String pass; // 密码
	private String idcardpic; // 身份证号

	public Student() {

	}

	public Student(String sname, String sex, String telephone, String qq, String wechat, int gradeid, Date enterdate,
			String fromcity, Date birthday, String address, String pass) {
		this.sname = sname;
		this.sex = sex;
		this.telephone = telephone;
		this.qq = qq;
		this.wechat = wechat;
		this.gradeid = gradeid;
		this.enterdate = enterdate;
		this.fromcity = fromcity;
		this.birthday = birthday;
		this.address = address;
		this.pass = pass;

	}

	public Student(long stuno, String sname, String sex, String telephone, String qq, String wechat, int gradeid,
			Date enterdate, String fromcity, Date birthday, String address, String pass) {
		super();
		this.stuno = stuno;
		this.sname = sname;
		this.sex = sex;
		this.telephone = telephone;
		this.qq = qq;
		this.wechat = wechat;
		this.gradeid = gradeid;
		this.enterdate = enterdate;
		this.fromcity = fromcity;
		this.birthday = birthday;
		this.address = address;
		this.pass = pass;

	}

	@Override
	public String toString() {
		return "Student [stuno=" + stuno + ", sname=" + sname + ", sex=" + sex + ", telephone=" + telephone + ", qq="
				+ qq + ", wechat=" + wechat + ", gradeid=" + gradeid + ", enterdate=" + enterdate + ", fromcity="
				+ fromcity + ", birthday=" + birthday + ", address=" + address + ", pass=" + pass + ", idcardpic="
				+ idcardpic + "]";
	}

	public long getStuno() {
		return stuno;
	}

	public void setId(long stuno) {
		this.stuno = stuno;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public int getGradeid() {
		return gradeid;
	}

	public void setGradeid(int gradeid) {
		this.gradeid = gradeid;
	}

	public Date getEnterdate() {
		return enterdate;
	}

	public void setEnterdate(Date enterdate) {
		this.enterdate = enterdate;
	}

	public String getFromcity() {
		return fromcity;
	}

	public void setFromcity(String fromcity) {
		this.fromcity = fromcity;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPass() {
		return pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public String getIdcardpic() {
		return idcardpic;
	}

	public void setIdcardpic(String idcardpic) {
		this.idcardpic = idcardpic;
	}

}
